/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DTO;

/**
 * This class acts as data transfer abstraction for customer object attributes. It encapsulates address attributes.
 * This object is transferred back and forth amongst various layers.
 * @author tejinder
 * @see  DTO
 */
public class Customer {

    private int storeCardNumber;
    private String passCode;
    private String firstName;
    private String lastName;
    private String email;
    private String phoneNumber;

    /**
     * parameterized constructor
     * @param storeCardNumber an integer
     * @param passCode a string  password
     * @param firstName a string first name of customer
     * @param lastName a string  last name of customer
     * @param email a string  email of customer
     * @param phoneNumber of customer 
     */
    public Customer(int storeCardNumber, String passCode, String firstName,
            String lastName, String email, String phoneNumber) {

        this.storeCardNumber = storeCardNumber;
        this.passCode = passCode;
        this.firstName = firstName;
        this.lastName = lastName;
        this.email = email;
        this.phoneNumber = phoneNumber;
    }

    /**
     * default constructor
     */
    public Customer() {
        storeCardNumber = 0;
        passCode = "";
        firstName = "";
        lastName = "";
        email = "";
        phoneNumber = "";
    }

    /**
     * gets store card number
     * @return the storeCardNumber
     */
    public int getStoreCardNumber() {
        return storeCardNumber;
    }

    /**
     * sets store card number
     * @param storeCardNumber the storeCardNumber to set
     */
    public void setStoreCardNumber(int storeCardNumber) {
        this.storeCardNumber = storeCardNumber;
    }

    /**
     * gets password
     * @return the passCode
     */
    public String getPassCode() {
        return passCode;
    }

    /**
     * sets password
     * @param passCode the passCode to set
     */
    public void setPassCode(String passCode) {
        this.passCode = passCode;
    }

    /**
     * gets first name
     * @return the firstName
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * sets first name
     * @param firstName the firstName to set
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * gets last name
     * @return the lastName
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * sets last name
     * @param lastName the lastName to set
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * gets email
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * sets email
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * gets phone number
     * @return the phoneNumber
     */
    public String getPhoneNumber() {
        return phoneNumber;
    }

    /**
     * sets phone number 
     * @param phoneNumber the phoneNumber to set
     */
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }
}
